{include file="pageheader_erp.htm"}

{insert_scripts files="../js/jquery.1.3.2.js"}
{insert_scripts files="../js/jquery.blockUI.2.23.js"}

{include file="erp_stock_check_search.htm"}

<style type="text/css">
	.current_page_style
	{
		color:red;
		font-weight:bold;
	}
	
</style>

<!-- start stock check list -->
<div class="list-div" id="listDiv">
<table  cellpadding="3" cellspacing="1">
  <tr>
    <th width="5%">{$lang.erp_stock_check_id}</th>
 	<th>{$lang.erp_stock_check_goods_sn}</th>
	<th>{$lang.erp_stock_check_warehouse_name}</th>
	<th>{$lang.erp_stock_check_goods_attr}</th>
	<th>{$lang.erp_stock_check_begin_qty}</th>
	<th>{$lang.erp_stock_check_warehousing_qty}</th>
	<th>{$lang.erp_stock_check_delivery_qty}</th>
	<th>{$lang.erp_stock_check_end_qty}</th>
  <tr>
  {foreach from=$stock_check_info item=stock_check}
  <tr>
    <td align="center">{$stock_check.id}</td>
	<td align="center">{$stock_check.goods_info.goods_sn}</td>	
	<td align="center">{$stock_check.warehouse_info.name}</td>
	<td align="center">
		{if $stock_check.goods_attr}
		{foreach from=$stock_check.goods_attr.attr_info key=key item=attr}
			{$attr.attr_value}
		{/foreach}
		{else}
			$$
		{/if}
	</td>
	<td align="center">{$stock_check.begin_qty}</td>	
	<td align="center">{$stock_check.warehousing_qty}</td>	
	<td align="center">{$stock_check.delivery_qty}</td>	
	<td align="center">{$stock_check.end_qty}</td>			
  </tr>
  {foreachelse}
  <tr><td class="no-records" colspan="9">{$lang.no_records}</td></tr>
  {/foreach}
   <tr><td colspan="9" align="right">{$page}</td></tr> 
</table>
</div>
<!-- end stock check list -->

{include file="pagefooter.htm"}

